package cn.wolfcode.crm.mapper;

import cn.wolfcode.crm.domain.Permission;
import cn.wolfcode.crm.qo.QueryObject;

import java.util.List;

public interface PermissionMapper {
    int delete(Long id);

    int insert(Permission record);

    Permission select(Long id);

    List<Permission> list();


    List<Permission> selectForList(QueryObject qo);

    List<String> selectExpressions();

    List<String> selectByEmployeeId(Long employeeId);
}